﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Asion.Dapper
{
    public static class WhereConditionExtend
    {
        public static EqualsWhere ToEqualsWhere(this IDictionary<string, string> condtion)
        {
            return new EqualsWhere(condtion);
        }


        public static ComplexWhere Eq(this ComplexWhere condtion, string column, string value) 
        {
            return condtion.Eq(column, value);
        }

        public static ComplexWhere Like(this ComplexWhere condtion, string column, string value) 
        {
            return condtion.Like(column, value);
        }

        public static ComplexWhere In(this ComplexWhere condtion, string column, string[] values)
        {
            return condtion.In(column, values);
        }
    }
}
